package com.retailshop.shopuser.mapper;

import com.retailshop.shopuser.entity.UserBank;
import com.retailshop.shopuser.entity.UserRank;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface UserBankMapper {
    int deleteByPrimaryKey(Integer ucId);

    int insert(UserBank record);

    int insertSelective(UserBank record);

    UserBank selectByPrimaryKey(Integer ucId);

    int updateByPrimaryKeySelective(UserBank record);

    int updateByPrimaryKey(UserBank record);

    List<UserRank> selectUserBankByUserId(@RequestParam("id") int Id);
}